<h1>Editing tpl</h1>

<%= error_messages_for :tpl %>

<% form_for(@tpl) do |f| %>
  <p>
    <b>Config conteudo</b><br />
    <%= f.text_field :config_conteudo_id %>
  </p>

  <p>
    <b>Nome</b><br />
    <%= f.text_field :nome %>
  </p>

  <p>
    <b>Texto</b><br />
    <%= f.text_area :texto %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @tpl %> |
<%= link_to 'Back', tpls_path %>
